<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="application"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" href="${ctx}/static/js/layui/css/layui.css">
    <title>登录</title>
</head>
<body>
<div style="width: 400px;height: 300px;margin-top: 200px;margin-left: 40%;">
    <form action="user/login" method="post">

        <h1 style="margin-left: 20%">欢迎登录后台管理系统</h1>
        <br><br><br>
        <p style="font-size: 20px">用户名：</p>
        <br>
        <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off"
               class="layui-input">
        <br>

        <p style="font-size: 20px">密码：</p>
        <br>
        <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off"
               class="layui-input">
        <br><br>
        <h2>${msg}</h2>
        <br><br>
        <input type="submit" value="登录" class="layui-btn layui-btn-warm" style="margin-left: 30%;width: 150px">
    </form>


</div>
</body>
</html>